package lab02.Test10;

/**
 * Created by lady on 2017/10/19.
 */
public class People {
    //属性：身高最大/小值
    double heightMax;
    double heightMin;
//行为：计算身高平均值
    double getAverage() {
        return (heightMax+heightMin)/2;
    }

}
